package com.sservice.service.service;

import com.sservice.model.entity.Ads;
import com.sservice.model.vo.AdsVo;

import java.util.List;

/**
 * Created by suweiming on 2017/12/20.
 */


public interface IAdsService {
    int deleteByPrimaryKey(Integer id);

    int insert(Ads record);

    int insertSelective(Ads record);

    Ads selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Ads record);

    int updateByPrimaryKey(Ads record);

    List<AdsVo> selectAll(AdsVo arg);

    List<Ads> queryByPage(AdsVo asv);

    int queryCount(AdsVo asv);
}
